import request from '@/utils/request'
/*
  params 会自动进行url拼接，其它类似name、search这些则不会自动拼接
*/

export function listOperation(params) {
  return request({
    url: '/operation/',
    method: 'get',
    params
  })
}

export function exportUserAll() {
  return request({
    url: '/operation/export_all/',
    method: 'post'
  })
}

export function exportUserCurrent(params) {
  return request({
    url: '/operation/export_current/',
    method: 'post',
    params
  })
}
